package com.lagou.rpc.api;

import java.util.Map;

/**
 * @param
 * @author oyz
 * @version 1.0
 * @description: TODO 负载策略接口
 * @date 2022/3/1 10:59
 */
public interface LoadBalanceStrategy {

    /**
     * @description: TODO 路由
     * @author oyz
     * @param clientPool 客户机器
     * @param serviceClassName 服务名
     * @date 2022/3/1 11:01
     * @version 1.0
     */
    String route(Map<String,String> clientPool, String serviceClassName);


}
